home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat3 / Tcl / allowexc.z / allowexc
Text File  |  1998-10-30  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. TTTTccccllll____AAAAlllllllloooowwwwEEEExxxxcccceeeeppppttttiiiioooonnnnssss((((3333TTTTccccllll))))                            TTTTccccllll____AAAAlllllllloooowwwwEEEExxxxcccceeeeppppttttiiiioooonnnnssss((((3333TTTTccccllll))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      Tcl_AllowExceptions - allow all exceptions in next script evaluation
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<ttttccccllll....hhhh>>>>
  13.  
  14.      TTTTccccllll____AAAAlllllllloooowwwwEEEExxxxcccceeeeppppttttiiiioooonnnnssss(_i_n_t_e_r_p)
  15.  
  16. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  17.      Tcl_Interp   *_i_n_t_e_r_p      (in)      Interpreter in which script will be
  18.                                          evaluated.
  19.  
  20.  
  21. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.      If a script is evaluated at top-level (i.e. no other scripts are pending
  23.      evaluation when the script is invoked), and if the script terminates with
  24.      a completion code other than TCL_OK, TCL_CONTINUE or TCL_RETURN, then Tcl
  25.      normally converts this into a TCL_ERROR return with an appropriate
  26.      message.
  27.  
  28.      However, if TTTTccccllll____AAAAlllllllloooowwwwEEEExxxxcccceeeeppppttttiiiioooonnnnssss is invoked immediately before calling a
  29.      procedure such as TTTTccccllll____EEEEvvvvaaaallll, then arbitrary completion codes are permitted
  30.      from the script, and they are returned without modification.  This is
  31.      useful in cases where the caller can deal with exceptions such as
  32.      TCL_BREAK or TCL_CONTINUE in a meaningful way.
  33.  
  34.  
  35. KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
  36.      continue, break, exception, interpreter
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.